#!/usr/bin/python3
'''
https://www.cnblogs.com/aland-1415/p/6613449.html
'''

# import sys
# a = sys.argv[2:]
# print(a)
import matplotlib.pyplot as plt
a = Series(np.random.randn(1000), index=pd.date_range('20100101', periods=1000))
b = a.cumsum()
b.plot()
plt.show()  # 最后一定要加这个plt.show()，不然不会显示出图来。
